package com.dkt.android.mvp.contract

import com.dkt.android.mvp.model.LoginInfo
import com.dkt.android.mvp.presenter.RegisterPresenter
import com.dtb.utils.base.DtbBasePresenter
import com.dtb.utils.base.contract.HintView
import com.dtb.utils.base.contract.ProgressView

/**
 * @author: dtb
 * @email: wendaoyuqin1@gmail.com
 * @createTime: 19-3-14下午3:45
 */
interface LoginContract {

    interface LoginView : ProgressView, HintView {
        fun loginSuccess()
        fun loginError()
    }

    interface Presenter : DtbBasePresenter, RegisterPresenter {
        /**
         * 二期的 注册接口
         */
        fun toLogin(view: LoginView, info: LoginInfo)
    }
}
